<html>
  <head>
      <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <style>
      body{
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin: 0px;
      }
      table{
        border-collapse:collapse;
        height: 500px;
        height: 400px;
      }
      table, table tr td { border:1px solid black; text-align: center;}
      .title, .title td, .subtitle, .subtitle td{
        border-bottom:none;
        font-size: 14px;
      }

      .subtitle, .subtitle td{
        border-top:none;
      }
      .title td{
        font-weight:bold;
      }
      .threetitle{
        font-size: 10px;
      }
      .all{
        width: 100%;
        display:flex;
        flex-direction:row;
        flex-flow: wrap;
      }
      table{
        width: 40%;
        height: 30%;
        margin-left: 3%;
        margin-bottom: 3%;
      }
      tbody{
        font-size: 10px;
      }
    </style>
  </head>
  <body>
      <div class="all">
          {{range .}}
            <table>
              <thead>
                <tr class="title"><td colspan="2" >“寻找中国少年写作之星”2018创意作文大赛</td></tr>
                <tr class="subtitle"><td colspan="2" >准考证</td></tr>
                <tr class="subtitle threetitle"><td colspan="2">（请仔细阅读背面的考生须知）</td></tr>
              </thead>
              <tbody>
                <tr><td>姓名</td><td>{{.Name}}</td></tr>
                <tr><td>准考证号</td><td>{{.CardNum}}</td></tr>
                <tr><td>就读学校</td><td>{{.School}}</td></tr>
                <tr><td>年级</td><td>{{.Grade}}</td></tr>
                <tr><td>班级</td><td>{{.Class}}</td></tr>
                <tr><td>组别</td><td>{{.Group}}</td></tr>
                <tr><td>考场号</td><td>{{.RoomNum}}</td></tr>
                <tr><td>座位号</td><td>{{.SiteNum}}</td></tr>
                <tr><td>考点名称</td><td>{{.RoomName}}</td></tr>
                <tr><td>考点地点</td><td>{{.RoomPosition}}</td></tr>
                <tr><td>考试时间</td><td>{{.Date}}</td></tr>
                <tr><td>应急电话</td><td>{{.Tel}}</td></tr>
              </tbody>
            </table>
          {{end}}
      </div>
  </body>
</html>